package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

public class AddDeptReqDto extends CommonReqDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 部门Id
	 */
	@TYWValid(min = 0)
	private String id;
	/**
	 * : 部门的父级id
	 */
	@TYWValid(min = 1)
	private String parentId;
	/**
	 * 部门编号
	 */
	private String departmentCode;
	/**
	 * 部门名称
	 */
	@TYWValid(min = 1)
	private String departmentName;
	/**
	 * 备注
	 */
	@TYWValid(max = 200)
	private String remark;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getDepartmentCode() {
		return departmentCode;
	}
	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	} 
	
}
